#pragma once

#include <QWidget>
#include "ui_SportMeeting.h"
#include <qfile.h>
#include <qpainter.h>
#include "page1.h"
#include "page2.h"
#include "page3.h"
#include "page4.h"
#include "page5.h"
class page1;
class page2;
class page3;
class page4;
class page5;
class SportMeeting : public QWidget
{
	Q_OBJECT

public:
	SportMeeting(QWidget *parent = nullptr);
	~SportMeeting();

	page1* pageOne;
	page2* pageTwo;
	page3* pageThree;
	page4* pageFour;
	page5* pageFive;
	friend void setPage(SportMeeting* sportMeeting,QWidget*);
	void  paintEvent(QPaintEvent* event);
private:
	Ui::SportMeetingClass ui;
	int N, M, W;


};
